/**
 * affairs moudle api
 */

import base from "./base";
import axios from "@/utils/axios";

const affairs = {
  getAudit(){
    return axios.get(base.webBaseUrl + '/leave/affair/getaudit');
  },
  getFinish(){
    return axios.get(base.webBaseUrl + '/leave/affair/getfinish');
  },
  dealAffairs(params){
    return axios.post(base.webBaseUrl + '/leave/audit/add', null, {
      params: params
    })
  },
}

export default affairs;
